

  	<#include "../include/comm_jlb_macro.ftl"/>
<html>
	<head>
	<title>网站后台管理系统-${pageTitle!''}管理</title>
	<@gmc_common_js "select" />
</head>
	<body>
	<div class="right">
    <div class="location">
     <div class="location01">您现在的位置是：首页 &gt; <strong class="m_title"></strong></div>
    </div>
    <div class="sort">
     <div class="sort1 m_title" ></div>
     <div class="query">
  	
	<form id="queryForm" >
	<ul>
			 <li style="width:22%">
		       	<span class="classify">群号/群名称：</span>
		    	<input name="qqGroupNum" type="text"   class="input"  id="qqGroupNum" value="${qqGroupNum!''}"/>
		      </li>
		       <li style="width:22%">
		       	<span class="classify">微用户QQ：</span>
		    	<input name="weiQQid" type="text"   class="input"  id="weiQQid" value="${weiQQid	!''}"/>
		      </li>
		    <li style="width:5%"><a href="javascript:void(0)">
  		 		<button type="button" class="btn btn-default" id="queryBtn" >查&nbsp;询</button>
       		</li>
      </ul>
      
  </form>
     </div>
    </div>
    <div class="form">
      <#if subject.isPermitted("accountExpandInfo:detail")>  <#--weiAccountQqGroupLeader:add  -->
     </#if>
     <div class="form2">
     
<table width="100%"  border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#ffffff" style="border-collapse:collapse">
      <tr class="lan">
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群号</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群名称</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>微用户QQ</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>合作状态</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>更新时间</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>操 作</strong></td>
       </tr>
       <#list pager.data as c>
       <tr>
       
	 	  <td align="center" class="hui">
	 	  <#if c.group.number??>
	 	    	${c.group.number} 
	 	  </#if>
	 	   </td>
	 	  <td align="center" class="hui">
	 	  <#if c.group.name??>
	 	    	${c.group.name} 
	 	  </#if>
	 	   </td>
	 	  <td align="center" class="hui">
	 	  <#if c.weiQqNum??>
	 	    	${c.weiQqNum} 
	 	  </#if>
	 	   </td>
		 <td align="center" class="hui">
    			 <#if c.cooperateStatus??>
    			  
	        	 	 ${BusinessQqGroupCooperationStatus.get(c.cooperateStatus).getTitle()}
	 		 	 </#if>
	 	 </td>
	 	  <td align="center" class="hui">
	 	  <#if c.updateTime??>
	 	    	 ${c.updateTime?string("yyyy-MM-dd")}
	 	  </#if>
	 	   </td>
        
		 <td align="center" class="hui" style="width:300px;"  >
	       		<div class="btn-group">
	       		<#if c.cooperateStatus??>
	       			<#if c.cooperateStatus==BusinessQqGroupCooperationStatus.WAIT_COOPERATION.getCode()>
				 				  	<#if subject.isPermitted("weiAccountQqGroupLeader:agreeCooperation") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.agreeCoopertion(${c.id},'${c.group.number}','${c.group.name}')"> 同意合作
				 					</button>	
	       							</#if>
	       			</#if>
	       				<#if c.cooperateStatus==BusinessQqGroupCooperationStatus.YET_COOPERATION.getCode()>
				 				  	<#if subject.isPermitted("zpRecommendFlowInfo:leaderList") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.scanResumeProcess('${c.group.number}')"> 查看简历流程
				 					</button>	
				 					</#if>
				 					<#if subject.isPermitted("weiAccountQqGroupLeader:complainWei") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.complainWei(${c.group.id})"> 投诉微用户
				 					</button>	
				 					</#if>
				 					<#if subject.isPermitted("weiAccountQqGroupLeader:cancleCooperation") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.rejectWei(${c.id})"> 解除合作
				 					</button>	
				 					</#if>
	       			</#if>	<#if c.cooperateStatus==BusinessQqGroupCooperationStatus.REJECT_COOPERATION.getCode()>
				 				  	<#if subject.isPermitted("weiAccountQqGroupLeader:agreeCooperation") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.agreeCoopertion(${c.id},'${c.group.number}','${c.group.name}')"> 同意合作
				 					</button>	
	       			</#if>	
	       			</#if>	<#if c.cooperateStatus==BusinessQqGroupCooperationStatus.RELEASE_COOPERATION.getCode()>
				 				<#if subject.isPermitted("zpRecommendFlowInfo:leaderList") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.scanResumeProcess(${c.group.id})"> 查看简历流程
				 					</button>
				 					</#if>	
				 					<#if subject.isPermitted("weiAccountQqGroupLeader:agreeCooperation") >
				 				  	<button type="button" class="btn btn-default"  onclick="weiAccountQqGroupLeader.agreeCoopertion(${c.id},'${c.group.number}','${c.group.name}')"> 恢复合作
				 					</button>
				 					</#if>		
	       			</#if>
				 </#if>
	      		</div>
        </td>
       </tr>
       </#list>
       <tr>
     	 <td colspan="10" valign="middle" class="d">
     	 
      			<#if subject.isPermitted("accountExpandInfo:detail")>  <#--weiAccountQqGroupLeader:delete  -->
     	 	 <div class="btn-group" style="display:none;">
			   <button type="button" class="btn btn-default"  onclick="javascipt:void(0);">删除</button>
      	 	 </div>
				</#if>
     	 	  
     	 </td>
       </tr>
      </table>
     
     </div>
     <@pageBar   pager=pager url="/weiAccountQqGroupLeader/list.action?jsonParam=${jsonParam!''}" join="&"> </@pageBar> 
    
    </div>
   </div>

<!-- 同意合作-->
<div id="agreeCoope" class="modal fade xin1">
<div class="xin1">
  <div class="xin1_1">
   <div class="whitea">确定同意合作？</div>
   <div class="close"><img data-dismiss="modal" src="/images/xinjian_03.gif" width="18" height="18"/></div>
  </div>
  <div class="caidan">
   <div class="caidan1">
    <div class="cd1">
     <table width="100%" border="0">
        <tr>
	        <td align="left" class="hui1"  >群号：<span id="group_num"></span></td>
     	 </tr>
        <tr>
	        <td align="left" class="hui1"  >群名称：<span id="group_name"></span></td>
     	 </tr>
      </table>
    </div>
   </div>
   <div class="caidan2" style="margin-top: 40px;">
			    <button type="button" class="btn btn-default" id="agree_confirm">确定</button>
						  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			 	<button type="button" data-dismiss="modal" class="btn btn-default" >取消</button>
   	</div>
  </div>
 </div>
 </div>
<!-- 删除弹窗 结束 -->
  <!-- 弹窗 结束 -->
	<#include "../include/deleteConfirmModal.ftl">
    <script src="/js/base.js"></script>
    <script src="/js/weiAccountQqGroupLeader.js"></script>
    <script>
		weiAccountQqGroupLeader.initPage();
	</script>
</html>

<!-- 解除合作弹出 开始 -->
<div class="pop_sure modal hide fade" id="tt_sure" style="width: 800px;height: 500px;display:none;">
  <div class="title0">解除合作<a class="x" href="javascript:void(0)"  data-dismiss="modal"></a></div>
  <div class="text0" id="delete_sure_title">我们有什么缺点,请您提出来我们会改的</div>
  <div class="w100">
    <ul class="r50">
      <li id="delete_sure_li" style="width: 700px;height:600px">
      
      	<textarea  style="width:700px;height:300px;visibility:hidden;margin-top:20px"  name="tt_leaderCooperationEndFeedback" id="tt_leaderCooperationEndFeedback"></textarea>
      
        <a class="button mar" id="leaderCooperationEnd_a"  href="javascript:void(0)" value=false><span>确定</span></a>
        <a class="button" id="cancleID" href="javascript:void(0)"  data-dismiss="modal"><span>取消</span></a>
      </li>
    </ul>
</div>

</div>
<!-- 投诉微用户 开始 -->
<div class="pop_sure modal hide fade" id="complain_sure" style="width: 800px;height: 500px;display:none;">
  <div class="title0">投诉微用户<a class="x" href="javascript:void(0)"  data-dismiss="modal"></a></div>
  <div class="text0" id="delete_sure_title">投诉微用户</div>
  <div class="w100">
    <ul class="r50">
      <li id="delete_sure_li" style="width: 700px;height:600px">
      
      	<textarea  style="width:100%;height:300px;visibility:hidden;margin-top:20px"  name="complainEndFeedback" id="complainEndFeedback"></textarea>
      
        <a class="button mar" id="complainEnd_a"  href="javascript:void(0)" value=false><span>确定</span></a>
        <a class="button" id="cancleID" href="javasc;ript:void(0)"  data-dismiss="modal"><span>取消</span></a>
      </li>
    </ul>
</div>
<script type="text/javascript">
 common.initLeftMenuSelected("weiaccountqqgroupleader_id");
</script>
</div>
<!-- 删除弹窗 结束 -->



